home *** CD-ROM | disk | FTP | other *** search
-
- (if (= @language "english") (
- (set #selectdest "Select drawer where TPaint should be installed. A subdrawer 'TPaint' will automatically be created.")
- (set #maincopy "Install the main program 'TPaint'?")
- (set #guidecopy "Install the manual in AmigaGuide-Format?")
- (set #localcopy "Install german catalogs?")
- (set #teddicopy "Install teddi.library?\n(necessary to run TPaint)")
- (set #dithercopy "Install dither.library?\n(necessary to run TPaint)")
- (set #losaprcopy "Install losapr.library?\n(necessary to run TPaint)")
- (set #iconcopy "Install the default icon for pictures?")
- (set #palettecopy "Install the saved palette's?")
- (set #filtercopy "Install the saved filter's?")
- (set #startup "Modify your 'S:user-startup'?\n(Otherwise TPaint doesn't find the icon for pictures)")
- )
- )
-
- (if (= @language "deutsch") (
- (set #selectdest "Wählen Sie das Verzeichnis, in das TPaint installiert werden soll. Ein Unterverzeichnis 'TPaint' wird automatisch erzeugt.")
- (set #maincopy "Das Hauptprogramm 'TPaint' installiert werden?")
- (set #guidecopy "Die Anleitung im AmigaGuide-Format installieren?")
- (set #localcopy "Die deutschen Cataloge installieren?")
- (set #teddicopy "teddi.library installieren?\n(unbedingt nötig um TPaint zu starten)")
- (set #dithercopy "dither.library installieren?\n(unbedingt nötig um TPaint zu startn)")
- (set #losaprcopy "losapr.library installieren?\n(unbedingt nötig um TPaint zu startn)")
- (set #iconcopy "Standard-Piktogramm für Bilder installieren?")
- (set #palettecopy "Gespeicherte Paletten installieren?")
- (set #filtercopy "Gespeicherte Filter installieren?")
- (set #startup "Soll die 'S:user-startup' verändert werden?\n(TPaint findet sonst das Piktogramm für Bilder nicht)")
- )
- )
-
-
- (set src (expandpath (cat (pathonly @icon) "//")))
-
- (welcome)
-
- (set @default-dest (askdir (default @default-dest)
- (prompt #selectdest)
- (help @askdir-help)
- )
- )
-
- (if (not (exists (tackon @default-dest "TPaint"))) (
- (makedir (tackon @default-dest "TPaint") (infos))
- )
- )
-
- (set @default-dest (tackon @default-dest "TPaint"))
-
- (copyfiles (source src)
- (dest @default-dest)
- (infos)
- (choices "TPaint")
- (confirm)
- (prompt #maincopy)
- (help @copyfiles-help)
- )
-
- (copylib (source (tackon src "libs/teddi.library"))
- (dest "libs:")
- (confirm)
- (prompt #teddicopy)
- (help @copyfiles-help)
- )
-
- (copylib (source (tackon src "libs/dither.library"))
- (dest "libs:")
- (confirm)
- (prompt #dithercopy)
- (help @copyfiles-help)
- )
-
- (copylib (source (tackon src "libs/losapr.library"))
- (dest "libs:")
- (confirm)
- (prompt #losaprcopy)
- (help @copyfiles-help)
- )
-
- (copyfiles (source src)
- (dest @default-dest)
- (infos)
- (choices "TPaint.guide")
- (confirm)
- (prompt #guidecopy)
- (help @copyfiles-help)
- )
-
- (copyfiles (source src)
- (dest @default-dest)
- (confirm)
- (choices "TPaint_default_icon.info")
- (prompt #iconcopy)
- (help @copyfiles-help)
- )
-
- (copyfiles (source (tackon src "locale/catalogs/deutsch/"))
- (dest "locale:catalogs/deutsch/")
- (choices "tpaint.catalog" "teddi.catalog" "dither.catalog" "losapr.catalog")
- (confirm)
- (prompt #localcopy)
- (help @copyfiles-help)
- )
-
- (makedir (tackon @default-dest "palette") (infos))
-
- (copyfiles (source (tackon src "palette/"))
- (dest (tackon @default-dest "palette"))
- (all)
- (confirm)
- (prompt #palettecopy)
- (help @copyfiles-help)
- )
-
- (makedir (tackon @default-dest "filter") (infos))
-
- (copyfiles (source (tackon src "filter/"))
- (dest (tackon @default-dest "filter"))
- (all)
- (confirm)
- (prompt #filtercopy)
- (help @copyfiles-help)
- )
-
- (startup "TPaint"
- (command (cat "assign TPaint: " @default-dest))
- (prompt #startup)
- (help @startup-help)
- )
-
- (makeassign "TPaint" @default-dest)
-
-